package com.glsc.ngateway.common.base.domain.mysql.gateway.other;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.DateSerializer;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.springframework.format.annotation.DateTimeFormat;

import javax.persistence.*;
import java.io.Serializable;
import java.util.Date;

/**
 * ip和系统编码关系
 *
 */
@Data
@Entity
@Table(name = "v_ip_system_code")
@EqualsAndHashCode(callSuper=false)
public class IpSystemCode  implements Serializable {

    @Id
    @Column(name = "ip")
    @ApiModelProperty(value = "ip")
    private String ip;

    @Column(name = "system_code")
    @ApiModelProperty(value = "系统编码")
    private String systemCode;
}
